﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LogParseur
{
    public class Parameters
    {
        // pour l'ensemble des job        
        public string ReportPath { get; set; }
        public int ReportLinesCount { get; set; }
        public string SearchPath { get; set; }
        public string SearchPattern { get; set; }
        
        // pour chaque job
        public List<JobParameters> JobParams { get; set; }

        public Parameters()
        {
            ReportPath = @"C:\";
            ReportLinesCount = 50;
            JobParams = new List<JobParameters>();
        }     
    }

    public class JobParameters
    {
        public string LogName { get; set; }
        public string Lines { get; set; }        
        public int PackSize { get; set; }
        public int ProceededElementsCount { get; set; }
        
        public JobParameters()
        {
            PackSize = -1;
        }
    }
}
